package com.motong.gongdan.vo.H5Vo.stock.query;

import com.motong.gongdan.entity.StockDetail;
import com.motong.gongdan.vo.system.otherVo.CustomFieldVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("出/入库单编辑")
public class StockEditQuery {

    @ApiModelProperty("出/入库id")
    private Integer id;

    @ApiModelProperty("0 入库, 1 出库")
    private Integer type;

    @ApiModelProperty("出/入库编码")
    private String code;

    @ApiModelProperty("出入库详细类型")
    private String typeOther;

    @ApiModelProperty("出/入库时间")
    private Date optTime;

    @ApiModelProperty("出/入库备注")
    private String comment;

    @ApiModelProperty("删除库存明细的id集合")
    private List<Integer> delDetailIds;

    @ApiModelProperty("库存明细数据")
    private List<StockDetail> detailList;

//    @ApiModelProperty("自定义字段")
//    private JSONArray customFieldMess;
    @ApiModelProperty("自定义字段")
    private List<CustomFieldVo> customFieldVos;
}
